<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title><%= __('hy') %></title>
    <link href="/image/favicon.ico" rel="shortcut icon">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_607959_dp67g6vf79icnmi.css">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_607959_8t0w2txptnj.css">
    <link rel="stylesheet" href="/mcss/base.css">
    <link rel="stylesheet" href="/mcss/Promotionpage.css">
    <link rel="stylesheet" href="/mcss/userInfo.css">
    <link rel="stylesheet" href="/mcss/loading.css">
</head>

<body>
    <%- include('base/mheader'); %>
        <div class="Promotionpage mobilecotent">
            <div class="loading" v-show="!loading">
                    <div class="preloader_4">
                        <span></span>
                        <span></span>
                        <span></span>
                        <span></span>
                        <span></span>
                    </div>
                </div>
            <%- include('base/muserInfo'); %>
                <div class="Promotionpage-wrap">
                    <input type="text" id="biaoios" ref="inputtext" class="input" :value='location+"?ref=<%= userbasicinfo.id %>"'>
                    <div class="Promotioncard">
                        <a href="/m/promotiondetail/id=0&coin=null" class="Promotioncard-center">
                            <div class="Promotionnumber-box">
                                <div class="Promotionnumber">
                                    <%= __('PromotionNumber') %>
                                </div>
                                <div class="promotionicon"></div>
                            </div>
                            <div class="Pnumber" v-html="myinvitation.total">
                            </div>
                        </a>
                    </div>
                    <div class="myCommission clear">
                        <span class="myCommission_tit fl">
                            <%= __('myCommission') %>
                        </span>
                        <!-- <span class="myCommission_hint fr">
                            <%= __('commissionHint') %>
                        </span> -->
                    </div>
                    <div class="promotion_detail">
                        <!-- <div class="p_d_item" v-for="(val, key, index) in usercommision.brokerage" :key="index">
                            <img :src="'/mimage/'+key+'.png'" alt="">
                            <p class="cointype" v-html="key"></p>
                            <p class="coinnum" v-html="val || 0"></p>
                            <a :href="'/m/promotiondetail/id=1&coin='+key" class="more_detail">
                                <img src="/mimage/point.png" alt="">
                            </a>
                        </div> -->
                        <% allMine.forEach( (item,index) => { %>
                            <% if(item.coin=='HPS') { %>
                                <div class="p_d_item" >
                                    <img :src="'/mimage/'+'<%= item.coin %>'+'.png'" alt="">
                                    <p class="cointype" v-html="<%= item.coin %>"></p>
                                    <p class="coinnum" v-html="getCgera(brokerage0 || 0)"></p>
                                    <a :href="'/m/promotiondetail/id=1&coin='+<%= item.coin %>" class="more_detail">
                                        <img src="/mimage/point.png" alt="">
                                    </a>
                                </div>
                             <% } %>
                             <% if(item.coin=='ETH') { %>
                                <div class="p_d_item" >
                                        <img :src="'/mimage/'+'<%= item.coin %>'+'.png'" alt="">
                                        <p class="cointype" v-html="<%= item.coin %>"></p>
                                        <p class="coinnum" v-html="getCgera(brokerage1 || 0)"></p>
                                        <a :href="'/m/promotiondetail/id=1&coin='+'<%= item.coin %>'" class="more_detail">
                                            <img src="/mimage/point.png" alt="">
                                        </a>
                                    </div>
                             <% } %>
                             <% if(item.coin=='BTC') { %>
                                <div class="p_d_item" >
                                        <img :src="'/mimage/'+'<%= item.coin %>'+'.png'" alt="">
                                        <p class="cointype" v-html="<%= item.coin %>"></p>
                                        <p class="coinnum" v-html="getCgera(brokerage2 || 0)"></p>
                                        <a :href="'/m/promotiondetail/id=1&coin='+'<%= item.coin %>'" class="more_detail">
                                            <img src="/mimage/point.png" alt="">
                                        </a>
                                    </div>
                             <% } %>
                             <% if(item.coin=='HSR') { %>
                                <div class="p_d_item" >
                                        <img :src="'/mimage/'+'<%= item.coin %>'+'.png'" alt="">
                                        <p class="cointype" v-html="<%= item.coin %>"></p>
                                        <p class="coinnum" v-html="getCgera(brokerage3 || 0)"></p>
                                        <a :href="'/m/promotiondetail/id=1&coin='+'<%= item.coin %>'" class="more_detail">
                                            <img src="/mimage/point.png" alt="">
                                        </a>
                                    </div>
                             <% } %>
                             <% if(item.coin=='HAND') { %>
                                <div class="p_d_item" >
                                        <img :src="'/mimage/'+'<%= item.coin %>'+'.png'" alt="">
                                        <p class="cointype" v-html="<%= item.coin %>"></p>
                                        <p class="coinnum" v-html="getCgera(brokerage4 || 0)"></p>
                                        <a :href="'/m/promotiondetail/id=1&coin='+'<%= item.coin %>'" class="more_detail">
                                            <img src="/mimage/point.png" alt="">
                                        </a>
                                    </div>
                             <% } %>
                             <% if(item.coin=='HART') { %>
                                <div class="p_d_item" >
                                        <img :src="'/mimage/'+'<%= item.coin %>'+'.png'" alt="">
                                        <p class="cointype" v-html="<%= item.coin %>"></p>
                                        <p class="coinnum" v-html="getCgera(brokerage5 || 0)"></p>
                                        <a :href="'/m/promotiondetail/id=1&coin='+'<%= item.coin %>'" class="more_detail">
                                            <img src="/mimage/point.png" alt="">
                                        </a>
                                    </div>
                             <% } %>
                             <% if(item.coin=='MOT') { %>
                                <div class="p_d_item" >
                                        <img :src="'/mimage/'+'<%= item.coin %>'+'.png'" alt="">
                                        <p class="cointype" v-html="<%= item.coin %>"></p>
                                        <p class="coinnum" v-html="getCgera(brokerage6 || 0)"></p>
                                        <a :href="'/m/promotiondetail/id=1&coin='+'<%= item.coin %>'" class="more_detail">
                                            <img src="/mimage/point.png" alt="">
                                        </a>
                                    </div>
                             <% } %>
                        <% }) %>
                    </div>
                    <div class="tuiguang">
                        <div class="sponsoredlinks" @click="onCopy()">
                            <%= __('CopyPromotionLinks') %>
                        </div>
                        <div class="lianjieone">
                            <a href="/m/shareit"><%= __('poster') %></a>
                        </div>
                    </div>
                    <div class="prompt">
                        <p><%= __('Promotionules') %></p>
                        <p><%= __('AGdivision1') %></p>
                        <p><%= __('AGdivision2') %></p>
                        <p><%= __('AGdivision3') %></p>
                        <p><%= __('AGdivision4') %></p>
                        <p><%= __('AGdivision5') %></p>
                        <p><%= __('AGdivision6') %></p>
                        <p><%= __('AGdivision7') %></p>
                        <p><%= __('AGdivision8') %></p>
                        <p><%= __('AGdivision9') %></p>
                        <p><%= __('AGdivision10') %></p>
                    </div>

                </div>
        </div>
        <%- include('base/mfooter'); %>
</body>

</html>
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.js"></script>
<script async src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="/mjs/Promotionpage.js"></script>